When is a statutory demand deemed invalid?