Fixed bug in saving a view's filter.