To fix bug #1152 the foloowing is done: If the number of problems is more than or wqual to 100 then ther x-range would be 100, otherwise the range would be the number of problems.