Improved selector for anchors with onclick so only anchors with missing href and onclick will trigger failure.