Fixed searchsorted and off-by-binsize error in color routes