spotted a bug in the order of ReferenceSets