Having issues with keyboard modifiers

I am having issues with msfs steam on pc. When I press for example Shift+F7, it should not do anything as it is not assigned to any key. This time, the flaps setting still changes which means even if I include a modifier, if F7 is assigned, it will execute the command anyway. Is there any way to fix it or is this a bug?