Switch from using contains() to text()= when doing a text comparison