pg search fixed for heroku