Corrected issue that appears when actual is null while ignoring types.