Branchless nesting fix