Getting this error message and struggling to debug it.
I\'ve isolated the offending code but can\'t see whats returning a zero or negative:
func collec