join iplog when end_time > NOW()

When listing all nodes I added a condition to join iplog table when end_time is after the current time.