#157 Fix error when applying a filter after deleting field