When calling TrashElementDAO.createTrashElement. The create AmetysObject is not a valid node as it doesn't have a `hidden` property