Minecraft wiki entry for Development_versions, associated text: Effects are now stored when overwritten by an effect of a higher amplifier.
A beacon effect will only temporarily overwrite a lower amplifier potion until the beacon effect runs out.