Fixed crash on startup related to random generation of products