Fixed a bug with call_filter not working properly