Fix document download identifier type