fixed 2 bugs

fixed 2 bugs:
1) [(meet) ed-pp] -> [meet ed-pp]
2) check for input array is one dependent clause correctly