bug fix: Now properly parses patterns 1 level deep