Fixed validation logic for cascading combo boxes.