Fix adding duplicate locations