Fixed attendance bug