Added null check for object equals