Summary says it. I will attach the only needed patch.
Created attachment 145921 [details, diff] 2.5-rangecheck
thanks, fixed