Add additional checks to prevent fatal errors when crawling the profile page.