Fix ip filter bug