[ticket/11495] Throw exception when item that should be deleted does not exist

PHPBB3-11495