Please take a look on the thread to reproduce the scenario.
Thanks Sharan Foga for your report !
I will commit the same thing in the release0904 branch in my next commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@768479 13f79535-47bb-0310-9956-ffa450edef68