re #8995. Ensure slice is given only when enabled