Fixed two cases where []. was used instead of Array.prototype. (Bug #1427)