equalReference and orNull