When people find themselves vexed by this sort of problem, I often tell them: Compute it both ways. Do the calculations as w/w, and then as w/v. Heck, even try v/v, or v/w if appropriate. Or in your case, mole/mol. Then compare exactly how much is there in each case. Maybe its not significant, for the application at hand. Maybe the possible differences are with the typical errors of the measurement, so it likewise doesn't matter.