Update class.options_machine.php

Added check if data is not empty
Update functions.filters.php

Checks if array is not empty
Merge pull request #1 from sy4mil/master

sync with sy4mil