It turned out that there were
an error in the sql creation. It
is now fixed and works as it should.