Ok all set.
You had this
<if test="accessreports:|:$this->memberData['is_mod'] OR !empty($this->memberData['access_report_center']) || ($this->memberData['g_access_cp'] AND !$this->settings['security_remove_acp_link'])">
moved to the top instead above the check for reports, modcp, and admincp. And the ending /if> was missing.