fix sync_all_users_job ActiveRecord::StaleObjectError exception