Fixed #4861 (Improve check: object is destroyed immediately not detected when calling overloaded constructor)