Fixes #8: automatically transfer category of deleted similar operation.