Fix for #57, when finding fragments, stop recursion if a fragmentname was found.
Merge pull request #60 from oniekrenz/issue-57

Fix for #57