added date check when checking for max number of reservations