Updated solution to check commits in correct order

The solution for this level checked for the commits in the wrong order as they were added in the setup, making the level impossible without a rebase to fix the issue.