Baserepository relationship filtering