I have the same issue. The workaround is to save and use the rawValue of that enum and compare them instead.
Topic:
App & System Services
SubTopic:
iCloud & Data
Tags: