Extract notification target before attempting to use it.