BUG Fixes a regexp that could never be matched and was wrong anyway.

Regex in getFinalisedQuery() would not match "column" in ' "table".'column" ' as it's supposed to.

I blew this PR the other day - but I think it's fine now.