Fixed by passing zipFlag in the recursive call.