Forgot to account for possible filter == nil in FindOfKinds method.