Update the way that we do table prefix calculations to reflect K3 changes.
URL::merge -> URL::query