Nested if seems to be throwing "Illegal one-byte branch at position: 80. Requested branch was: 131."

Jul 12, 2012 at 2:08 PM
Edited Jul 12, 2012 at 2:09 PM
if(  0 = countof("LineItems"), "-5 mins",
	if( 1 = countof("LineItems"), "20 mins",
		if( 2 = countof("LineItems"), "1.5 Hr",
			if( 3 = countof("LineItems"), "3 Hr",
				if( 4 = countof("LineItems"), "5 mins", "none")
			)
		)
	)
)
We have the above expression and using the latest release of the library. When executed the exception "Illegal one-byte branch at position: 80. Requested branch was: 131."
is thrown. countof is a function that returns a simple integer and is a custom function. Noticed a few discussions that point our the error and indicates fixes, but still seem to happen in latest release. Any workaround please suggest?