Fix reverseName() to match the full length of the prefix