Jonas: 'My program': add flag to query condition