Improve performance on behavenet_get_lists().