Improve css class comparison.