Multiple reviewer bug
select * from team tv
where (select count(*) from team tt
where tv.manuscript_id = tt.manuscript_id and tv.role_name = tt.role_name and tt.deleted is null and tv.deleted is null) > 1
Previously afflicted manuscripts:
EMS82569
EMS79115
EMS84389
EMS82263
See #919 (closed), #928 (closed), which are both caused by the first reviewer not being successfully deleted.