pratap's changes for random upr consumer name

handling of multiple indexes per bucket is also fixed