Or, you could use black, and white tape, to id the wires according to their proper polarity.... wrap tape up into the box, over the conductor, so there is no mistaking what it is, and attach properly.
Leave the other boxes alone that show proper polarity.
No telling where the problem is... depending on the electrician who wired it. Could be next room, above or below, or feed thru switchbox.
Just fix polarity at your point of use and call it good
or it might be best to hire an electrician.