Problem: The lastwritten field in source table is not populated