Fix create learning path form with category - refs BT#8838