Updated yourprofile.php

Fixed issue with courses displaying wrongly