Fix attributes falling below zero