bootsrap-slider has a bug when "data-slider-value" is set to 0, it thinks that no value is set and uses the default value of 5.
This is a workaround to set the default value to 0 if no "data-slider-value" is 0 or nil