Added indexing to answers table.
Fixed bug in add_index.