Issue #2158339 by jhodgdon, bzrudi71: Search results page broken on PostgreSQL.