fix(check) String vs. Array in 'exists' check