Fixed the database queries, so they work now
Merge branch 'master' of https://github.com/dcdevito/devpoll