R,
Welcome to forums. Student loans are rarely discharged in bankruptcy. If the bankruptcy court finds that you have to face a true financial hardship to repay the loan, then only student loan is written off.
To qualify under this clause you have to show that it won't be possible for you and your dependents to maintain the minimum standard of living if you continue to pay the loan back.
Make sure that your loan was completely written off in the bankruptcy. Sometimes court allows canceling part of your student loan also.
I think if you would have filed Chapter 13, this didn't happen with you, since Chapter 13 makes the debtor free from any unpaid debts after bankruptcy.
Regarding your credit report, I would suggest you to compare reports from three bureaus. You've the right to dispute an incorrect entry. Also try to contact your loan holder and negotiate with them so that they report the accounts in your favor.
Bryan