Fix idempotency for cs_fencetopo

Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>