Fixed refresh bug with import categories.