Tweak how IsEqualHtml constraint works