You need to pull the latest changes from openmrs/1.10.x, @dkayiwa changed this in a later commit to check the actual order