Why is this necessary? What are you doing here? Removing all hugs by the same author who already made a hug? This is not the best thing. We could or:
a) throw an error if we get another request for the already hugged object
b) simply ignore the new one, this is probably preferable, but the important thing is that the order of hugs in the list stay the same, here, in your case, you delete first one and allow second one to be, so at the end, you are reordering things