Fixed Postgres incompatability

Fixes issue https://github.com/biola/punching_bag/issues/4