Fix group preference bug.