A commercial vessel for maintenance is not the same as having commercial engines.
If you add military drive engines to the design, it should change to a military vessel for maintenance.
Military jump drives do not change the vessel to military maintenance, although I believe this on the list of items to update in a future release.