fix: account for queryStates being null

This should never happen, but this is a quick solution to prevent the entire system from crashing

Merge request reports

Loading