fix(Category API): categories are not deleted if any listings are present in the system