Make sure null elements are not permitted