Fix display of last IP address in advanced search

We must consider iplog entries with an end_time in the future.