#568224 by Josh Waihi and chx: Fixed missing constant in filter value. (all pgsql tests pass now. woohoo! :D)