Improve error message for multiplicity errors