Handle 0 Commits

We can get 0 commits here. Guard against it.