Added deleting section to filtering-and-assigning.