Fixes related to validation of 'asset' field while creating new device.