Bug that considered two instances with null id's to be equal