if (user is not None
            and user != stats['user']
            and user != stats.get('uid')):
        changes['user'] = user