Fixed error when date was larger than the max date. Also fixed the error message when cursor was not set.
Revert "Fixed error when date was larger than the max date. Also fixed the error message when cursor was not set."

This reverts commit 744632449f2413d62a3280d595d6c7b9370cb6fc.
Merge branch 'master' of https://github.com/mdfeist/CMPUT291Project2
Files Restored