Changed PollComparator to AbstractComparator
Got the comparator working properly