The Chapter 7 bankruptcy does not strip down the second mortgage lender's lien. To do that, to the extent that the second mortgage is unsecured by the real estate, you need to go through Chapter 13 bankruptcy. If you owe as much or more on the first mortgage than the property is worth, you can try negotiating with the second mortgage lender - if they understand that they are essentially unable to foreclose, because every penny from the foreclosure sale would go to the first mortgage lender, they may be willing to negotiate (even if grudgingly).

If you are delinquent on your second mortgage, you are delinquent on your second mortgage. Whether or not you are current on the first is irrelevant to your obligations to your second mortgage lender.