Optimize the query parser for MySQL's FTS to use the FTS system even more, fixes also a small bug. Fixes #1818