Added check for adding category on page only if category is present