Fixed wrong recognition of target fragment.