PMO-2667 allow empty patterns to be treated