more strict basedon element select in case cascaded cfs are used as category as well

old select will get the hidden "...-Complete" element, which is wrong.
see also #28022
Merge branch '4.2/multiple-level-cascaded-cf-js-fix' into 4.2-trunk