Bug fix for guard of Array#[]