Modified routes/index.js database query for the input screen. Will select only subcategories for display and omit parent categories which exist for reporting purposes only