Fixed cartodb queries inline with db table changes