fixing issue where navigating to a non-existant category_id caused NodeBB
to crash