Fix equality condition on a lazy object.