Fixed assembling query with 'alpha' marker