It only seems to be these two lines, as I have other queries with LIKE statements that work no issue. I have other commands with a "%s" placeholder in the middle, and a LIKE statement, and those work no issue. And as mentioned, they worked no problem when I was using sqlite, but since switching they don't.