A possible interplay between electron beams and magnetic fluxes in the Aharonov–Bohm effect