FIX patternEqual target is null, rest.get query