There are a few reasons for this.
Firstly the lien listed in the "Liens & Judgements" section could be a different lien than the one foreclosing.
Secondly often times mortgages are "assigned" to other banks, basically they are bought and sold and the foreclosing party ends up being a different name than the original mortgage company listed on the face of the mortgage document. This is evident when the new bank files legal docs against the mortgagor and you see a new name there which can be traced back to the original bank via assignment of loans.
Here is an example of this from a title search we did yesterday: