Fixed a bug with how pushStack was checking for arrays.