Fixing a bug with setting a floor to some states