Fixes no validation on category dropdown which causes errors

If you add or edit a product and don't choose a category, you could still add the product. This caused a Spoon exception. The validation on the category_id dropdown didn't seem to be working.