Fixing resourceMaintenance position in templates and sampledata