Key change bug if I start on measure 1

If I add a key change from measure 1 to any other measure with no other key changes present then the key change applies to the whole song instead of from measure 1 to that other measure