Possible fix of changing ID of joinedObjectTable

That's what stackoverflow said