FIX: Using parseValues function instead of native ternary array check