Fix for #57, when finding fragments, stop recursion if a fragmentname was found.