Fix return value for range ending in minimum token