Bug fix (prevent pricing if any amount is NaN)