Also trim $namesExclude array elements