Fix today filter bug for Documents

It resolves #51