Removes duplicate check for the div