Fixed one more 500 error on document display.