Fixed calendar bug. Now prevents user from selecting outside of the valid date range. Authors: ghfranzini nmcmahon1215