Fix bug with dates, fixes #327

Minor bug fix to make dates show on the x axis, fixes #327