TRUNK-3844: Correct BaseOpenmrsObject equals