#1163 - Make sure we are comparing ID to ID when querying for subcategories