DB optimize deletes document search index

I've noticed that if I upload a document to the BITES storage and optimize the database through Stardog Studio, I no longer get any results from full-text searches over the documents. To get search results again, I have to explicitly reindex the document store via the CLI. This bug only seems to affect documents, with literals still being correctly indexed after the optimize command.