Fix reports lucene sorting order. Improve lucene error handling. Issue: #655
Bump api. Issue: #652