Mixtures of anionic compounds with carboxylic amides or alkylol amides