Fix code that breaks in certain environments (can't do arguments.keyExists())