fixed bug where creating products breaks if there are no already-existing categories