Remove does nothing if the block isn't present, so you can skip this check. Same for the other remove().