Changed behavior of optional argument for problem environment.