Fixed bug so that readers can query content. And added tests to support it.