Incorporate categorical.searchsorted() feedback from jreback