Applied fix from trunk for revision: 1612190 
===

Fixed bug I introduced in rev. 1610918: thanks to Deepak Dixit for the bug report and resolution.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/branches/release13.07@1612191 13f79535-47bb-0310-9956-ffa450edef68