Changed the way disk masks are handled in sparse sprout + retract fn