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/release12.04@1612192 13f79535-47bb-0310-9956-ffa450edef68