Fix schedule filters

- Remove "use strict" directives
- Use local result variables for filter functions