postgres: big bug fix in RequestAttempts rewrite
postgres: big bug fix in RequestAttempts rewrite

Was missing a WHERE clause, so attempts would kind of arbitrarily get paired up
with work units.  Fix that, so they match, and coordbench doesn't say every
work unit has the same active attempt.

diffeo/go-coordinate