Remove useless duplicate check since HashMap already takes care of that for us