Update to fix #5911

Missed get_term_by calls with slug, reverted to wc_get_product_terms (get_the_terms, whilst great for performance, bypasses all the special sorting implemented by the former).
Merge pull request #5921 from southan/master

update to fix #5911