Fixed checks for if an element isn't found on the page