Remove shallow comparison check