query optimization for #25459
fix auto-assignment when forbidden range is very far from selected block, #26868, from #25530
debug