Merge "Allow pattern to start from outside pattern view" into jb-mr1-dev