Change problematic condition.

For some reason the invocation of callable(parser) for a tuple was
throwing TypeError. No idea why.