We can check if `nameEntered` is empty before getting `deviceinfo.product_model`. This may save one database query.