index: Fix reseter element's class attribute