Patching hash bad attribute detection.