Fix a weird error for users with a session containing other keys than those related to label printing