Fixed bug in IMEI / Serial check was always executing the code as if the device was invalid.
Merge branch 'v8.6'