Fix to array parsing issue
Created by: tokotokodev
Solution:
Glob_check was incorporating one element arrays into globs and somehow consuming them. The fix simply checks if the b']'
is not succeeded by another character, which would make it a glob pattern.
Fixes: Array Parsing Issue #638 (closed)