Meaning of 〜しては


I'm trying to understand the definition of 踏んだり蹴ったり [at this
site](http://kotowaza-allguide.com/hu/fundarikettari.html).

> ... 何故「踏んだり蹴ったり」というのかというと、踏んだり蹴ったりな目にあった当人が踏まれたり蹴られたりするからではなく
> **踏んだり蹴ったりしては** 嫌なものをそうしてしまった、ということからだといわれる。

My confused translation:

> The reason it's _踏んだり蹴ったり_ [and not 踏まれたり蹴られたり] is not that the person who
> is described as _踏んだり蹴ったり_ is being trampled and being kicked themselves,
> but rather (???) _they_ are doing the trampling and kicking and then are
> forced to do such disagreeable things.

So what I'm not sure about is the meaning of 〜しては in this context, as it's
clear that it's not related to にしては or としては which are the usual ways I
encounter it.

I guessed in my translation that this is actually an instance of 〜ては ( _X and
then Y_ ) but I'm not sure exactly how to make sense of it in context.




「踏んだり蹴ったりしては嫌な」 modifies もの.  
"something that you don't want to get trampled or kicked" or "something that
you don't want to trample or kick"

You're right that the 「～ては」 means "X and then Y" or "if~~".  
「～ては嫌(だ)」= "hate it if~~" → "don't like/want..."

そう refers to 踏んだり蹴ったり.

> ［踏んだり蹴ったりしては嫌な］ものを、そう(= 踏んだり蹴ったり)してしまった

"they (accidentally/unintentionally) trampled and kicked something that they
didn't want to get trampled or kicked / something that they didn't want to
trample or kick"




「踏んだり蹴ったりしては嫌な」 modifies もの.  
"something that you don't want to get trampled or kicked" or "something that
you don't want to trample or kick"

You're right that the 「～ては」 means "X and then Y" or "if~~".  
「～ては嫌(だ)」= "hate it if~~" → "don't like/want..."

そう refers to 踏んだり蹴ったり.

> ［踏んだり蹴ったりしては嫌な］ものを、そう(= 踏んだり蹴ったり)してしまった

"they (accidentally/unintentionally) trampled and kicked something that they
didn't want to get trampled or kicked / something that they didn't want to
trample or kick"

