Fix for an undefined variable in the core delete method.