Refactored the control of setting correct storage values for the DB to the juggleAttribute method.