Fix a stupid bug caused by a missing folder property.