Fix category delete