CDB-1886 Fixed serverside part, but this is scary, we should escape table names in all places...