Fix rates to return empty array when there are no valid services
Merge branch 'rates' into integration