if it's not a DIY project, the electrician that did it should be shot. Not only is the box wrong for the application with the brace bar. The box wasn't fan rated.

From start to finish, this job was a rube goldberg.