Delete is harmless if the key doesn't exist. The If check isn't really necessary :)