Fixed layout to handle a sex of unknown and also implement the fix for
clearing the lamb tags in ewe record for all lambs.