Fixed Compressed Index and added _isRealtime varialbe in Document object