Altered query method, fix small bug

Strange bug with the PlayerSay hook, but it shouldn't happen again now.