Update functions.filters.php

Checks if array is not empty