Fixed bug when adding an exercise base on its name instead of exId.