There was a special case for when all points were selected, but a missing return caused the general case to run afterwards.