Fix some ambiguous error messages in MScanById