Previously, when `deleteFromIndex` exited early due to an error, nil rules would be left in the controller's list of rules, which could provoke a panic on the next reconciliation. This commit ensures that nil rules are removed before an early exit. Fixes: #51 Signed-off-by: Lucas Servén Marín <lserven@gmail.com>