Protect against keys w/o attributes