Fixed bug in create_workout