Fix some minor parsing bugs in ICS parser

Authored by epriestley on Oct 19 2016, 4:55 PM.