player name search fixes

Update to work with new prepared statements and a correction to work with some player names with '[' and ']' in the string.