Add basic check that entry has a parent which is another entry or the built-in root folder (id = 0)