Fixing a bug in how the items were being remove from the categories_array.