Fixed --with-max-am and --with-opt-am list issues ; using lists in CI checks.