Ugly solution to find percentage of correct answers, since PostgreSQL doesn't support Avg on booleans