Fixes #13870; display sorting select only if there are more than 10 results