After checking if DeviceType is "laptop" (based on presence of "MacBook"...
After checking if DeviceType is "laptop" (based on presence of "MacBook" string), code should check remaining devices to see if they may be of DeviceType "desktop" (based on presence of "Mac" string, but not "MacBook" string). This removes an error message that appears on desktop Macs.