Fix swift_dispersion check