[#86030] Move Oracle-required slicing to a helper