Fix compile error introduced from degrees search.