Checks that the filter is a Variable, and act accordingly