fix for when query happens before RedAlert is ready