Fix the time span so it properly counts out the max data points and can shift off the end of the array appropriately.

git-svn-id: https://svn.code.sf.net/p/freeghost/code/trunk@2692 71f96598-fa45-0410-b640-bcd6f8691b32