Query grammar should not explode segments on alias