JC: removed redundent presence requirement for category_id. Added category_id to view.