Add points to questions search and fix PG error