Add default limit for Postgres queries

This is separate from the upper limit (which was 250 in prod, way too
much).