Work on issue #32

Added check to make sure length of dates for predictions is > 0