PlainDocRepository bug in readAll method