Investors & landlords

The loss should have been allowed and that is how you arrive at the $27,900.  If the loss was not allowed, the basis would have been higher.
*A reminder that posts in a forum such as this do not constitute tax advice.
Also keep in mind the date of replies, as tax law changes.