results with python, IP filter not working