Fixed issue where the order of commits in the wrong order