Yeah, it's a common mistake and not a big one anyway, though I assumed you might want to have the ranks displayed correctly hence my comment. I am glad if I was able to be somewhat useful and if you happen to have a hesitation about a certain rank or how it is supposed to be written in future, feel free to reach me out. I will be happy to help.
Once more, good luck with your regiment.