99 : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and rightkey>= and level=1' at line 1
In query: select id from module_catalog_dir where leftkey<= and rightkey>= and level=1