Workaround for delayed_job_active_record on postgres 8.4