Fixed a bug when clicking on add to wish on course details