[fix bug 845257] Fix query for common skills in Functional Area.