Fix regression bug where exercise type was not passed in