Fixed mapFunc not accepting arrays with non-array-values