Fix generation of PHP filters. Add DateBefore validator to the HTML.