Move filter hooks inside `li` tags