Cleanup handling of titles in the URL