Fixed incorrect conditoinal in parse()