Add conditions to lists in index view