Add assert for Lucene version