A nic family name can contain numbers on it, remove only the index in the end. Fixes #2010
Remove unused function remove_numbers()