Changed BasicContext so that indexing with a variable that doesn't exist doesn't throw.