Don't proceed to outer scope once match is found
Merge pull request #452 from Dmitry-Me/stopOnceFirstMatchIsFound

Don't proceed to outer scope once match is found