Issue IKTREDEL-40 by cableman: Added flush indexes