Adding in comparasion operator to scan iterator