Fixes issue with counting all commits no matter what