Removed duplicate <validation/> tag in config transform
Added guard against strange null key when populating proile (fixes #380)