Bug fix: Array's can't be cast as boolean (broken if)