Fixes a bug for the repeat tooltip