Issue 3688 calendar edit this instance makes loose categories