Fixed the issue with not refreshing the realtime index on the batch size