[~BUGFIX] Table name wasn't retrieved properly when updating childcounts for categories.