[fix] Don't crash when given an array