Well, fix a regression in a db query