Bugfix in obtaining the min/max of followsets