Improving sla_list_safe_domain performance

Bugs closed: AURORA-233

Reviewed at https://reviews.apache.org/r/18485/