Fixed some issues in Host Filter