Discovered a bug in the indexing operator, that is the square brackets notation.