Fixing potential for skipped commits on git rebase