Fix bug in user_directory app which was causing profile displays to fail when user id had more than two digits in the URL.