Fixing bugs in participant status report pull operation
Fixing duplicate code bug in participant status report

It seems that during the last merge two blocks of code were accidentally
duplicated, causing the report to take extra long to run.
Missing operations in role_has_operation.sql install file