Correct array type checks.