Trunk 3567

tiny change but now we get warning about necessary field instead exception.
link to ticket: https://tickets.openmrs.org/browse/TRUNK-3567