When giving a player a status effect the level you get of the effect is one level higher than it should be.
For an example when I type the command under this sentence I get haste II, if I change the 1 in the command to a 2 I get haste III.
/Effect give (username) minecraft:haste 30 1
This is intended game behavior, see MC-10462.