New query for partial and case insensitive matching

Old query didn't do partial matches (needed for acceptance criteria) and required input text to be lowercased. New query fixes both those issues. Definitely not the final query long term by any stretch of the imagination though!