Fix weird error due to group parens in pattern