Avoid error on remove occurrence

Signed-off-by: José Luis Di Biase <josx@interorganic.com.ar>