Added catch for no data points.
Merge pull request #722 from jaypoulz/hamster

Added catch for no data points.