Unbreak target reload when using istgt.

Ticket: #5216