Fix pause policy bug because of mismatched enum index (#601) (#602)