If you have negative twist values, they should be input such that the first value is less than the second. E.g. to search between twists of -40° and -20° enter -40, -20 in the twist search range box. The rise is always taken to be positive by convention, and also should be input in increasing order. Let me know if this prevents the error.