Get your taxes done using TurboTax

Yes, if it was never allowed (as a result of the limitation), then the basis is not reduced by the amount not allowed.