fix for filtering obs by investigations