Fix get_natural_key invalid caching