Apply patches from Peter Kutak from bugs 49334 and 49242 - HSSFChart improvements by tracking more records