Fix document status hash