Fix an invalid mixin-loop report.

Closes #714