Corrected possible chance of infinite error loop in GetProfile. #956

Open
wants to merge 1 commit into
from