The only property that makes any difference to you is your property. You are not under the master lease so anything involving you is seperate from anybody else's.
Did is you retrieve your property from the trash? If not you have no claim against anybody for that property.
. Your landlord abandoned your property. It was his obligation to store it and give you notice. The master landlord had no contract with you. Your agreement was between you and the master tenant. If the master tenant didn't lay claim to your property then he essentially left it for the trash man to take.
To win against the master landlord you will have to prove he had a duty to you to store your property and provide required notifications.
It doesn't matter if the master landlord came the 31st, the 1st, or the 20th of December. You left the property there beyond the date of possession of the rental. Your concern about him being there the 31st means nothing at all. It doesn't even make a difference if his entry was legal or not. Come midnight on the 31st it was his apartment and your stuft was still there. It wouldn't have made any difference if he waited until the morning of the 1st.

