fixed wrong replace executing SQL on multiuser accounts
Merge pull request #724 from CartoDB/CDB-3938

fixed wrong replace executing SQL on multiuser accounts