Fixed if('') bug in addAll.