Update AutoFilter.php

fixed a stupid NOTICE warning which breaks everything