added if to account for todays self_rep in on going courses