fixed filtering by criteria
improved filter - allow criteria with any type
added filtering for CRUDs