Fix logic error in SVGFormatReader

Change-Id: Ic676ae436af44d0ff86de9346d8221fdfc18ba76