Fixed tag comparison. Empty collection is the same as null.