Since it's only for demo_user submissions, I don't think it's that bad. It's also a single couch query, with relatively small objects (history's excluded). If it were every submission, I'd be in favor of having a direct case_id to owner_id lookup.