Make sure key is evaluated in case statements.