Generate an array for all_in_category

Previously we selected a subset of a Hash, which won't intersect with an array.
Duh.