Use 0 as least if no categories exist