fixed a bug in the Equals(references-false) rule