miriad: adjust patch; only print info if assertion triggered