Added check for negative mpirx