should now cope with array comparison with null