Update folders.queries.php

Fix DB query to allow Item creation/modification without respecting the complexity