Fixing bugs in queue caused by new jurisdiction.service_id column