Bankruptcy Matters in Foreclosure Proceedings