Better logic for controlling last date for object synced