Fixed problem with device not showing in add device modal