Rejecting/thinning modes based on average density

You are right.
Also just checked my maths - what I proposed is not the right way to do it.