Fix typo which was causing error about duplicate entry