Fix completeAll fail after editing item