Cleaned up the `ArrayCheck` function.

As it stood, the array check was looking something like this:

    if [[ False == False ]] ; then

I did a little code-reshuffling and believe that it should now work as it's intended