Fix segfault
Fix segfault

* Gearmand would segfault if you submitted an epoch job while using Postgres
  as the persistent queue

beeksiwaais/gearmand,dm/gearmand,beeksiwaais/gearmand,beeksiwaais/gearmand,beeksiwaais/gearmand,dm/gearmand,dm/gearmand,dm/gearmand