Fixed the query for finding a current poll in the module