Fix creation of duplicate entries