Fix target_at function -- causing inf loop in 2nd invoke