update mode method to catch the second mode and return None if there is no N that occurs more than once