Prevent duplication of folder model `contents` field