Fix error in filter, applyfilter when change in model

Add more tests for list