Check for null element.