In color detector, respond properly for situation when upper bound of hue is smaller than lower bound (wrap around 0/180).
In color detector, respond properly for situation when upper bound of hue is smaller than lower bound (wrap around 0/180).