CommitesModel: fix update_commits_list.

Fixed #37.