How to Enter K-1 figures from S-Corp (loss greater than basis)

Hello,

 

I received my K-1 this year which had a loss in box 1 (ex -$18,000). Additionally, I had a a loss in box 9 net section 1231 (ex -$10,000). 

I thought the loss I pass through, as an active member, cannot be more than my basis (ex $21,000). When I enter all my info into TT home and biz it is passing through $29K loss. Am I doing something wrong?