The AnalyticsStatus enum does not reflect appropriate values. The enum should reflect the same values as the QueryStatus enum.
Code ref
This will address the submitted PR.