Restrict nesting to folders.