Fix removr bug 

StarDoublePathElement is throwing StringOutOfBoundExceptions when we try to match a key of pattern abc-1 with the spec abc-*$*.