[Variation Helper] - Added a check for a null ref exception.