Commit messages did not line up with the commit

Incorrect logic in automatically generating the commit message, no need to specify any versions as it happens pre-commit.