Fixed attendances redirection error and template