quote filter fields on merging conditions