fixed test (null is not interpreted as true anymore)