[tmpo] make block cleaning function more selective