Fixed problem where undefined would show in the URL for a user's library