Updated document nr allocation due to bluk loading of docs