Fix error

When an object doesn't have keyable and displayable attributes  it
returns a warning message.