Minor - format code.
Only look for completed attempts status = ''.
Hiding actions column when lp_show_reduced_report = true see BT#8902