Cast interval to integer before adjusting run_at of a synchronization