Range Slider: Added type check for intial value. Fixes #5404

Added typecheck for initial