[Olena-patches] last-svn-commit-204-gf3987ed Fix the right behaviour of the regmax software.