Bugfixes for main battleParameters creator.