Fix bug in commit list

Fixes #22