Fix recursively deleting jobqueues with postgres

Addresses #254.
I'd add a logging statement here so the queue is not deleted silently.