Fixing regression

Should move to the next fragment on a single replace.