Fix for array check.