fixed issue with upper case servernames
get_entity_by_ip no longer fails if entities with no ip are present