Bug fix for keys with multiple attribute_path's