Domain useless rental listing filter

This script is designed to try and remove rental listings on domain.com.au that are for properties that have already (probably) been leased. I.e. "deposit taken", "application received".

These listings annoy the hell out of me.