Simplify attendances#index code