PIM-1430 : fix version listener on entity deletion