Fix name validation to remove old name from store

- Old name stored in store is removed upon name change