Added support for searching FlowStates