Move check for element type of 'None' to method with unmatched array element types.