Fixed problem of removing an occurrence which did not get removed.

Signed-off-by: Michel <info@1st-setup.nl>