Fixed the conditional for checking whether the tabBuilder has a wrap or not