filter for StateMachine; hide lines with empty state