added isset() check to ia_Relative_Date instance check
updated version