Fixing IP search adding end_ip limit