this is not really a self join, the mapside part in different because of the min/max. Need to fix that and assert that the self join is triggered.