Lea Michele spent intense time reflecting on workplace behaviour following allegations