Fixed the one-off error for month.
Added deletion of canceled appointments for patients.
Restrict viewing of appointments to last 24 hours and up.