[fix]: Fix use of [].indexOf