Allow nulls on arrayCompare function