RpPositiveAmount optimization. Fixes #731