Stable outcomes in modified fractional hedonic games