Fixed bug with attendance deletion