diff --git a/src/utils/convertToNumberWithinIntervalBounds.js b/src/utils/convertToNumberWithinIntervalBounds.js
index <HASH>..<HASH> 100644
--- a/src/utils/convertToNumberWithinIntervalBounds.js
+++ b/src/utils/convertToNumberWithinIntervalBounds.js
@@ -1,4 +1,6 @@
 function convertToNumberWithinIntervalBounds (number, min, max) {
+  min = typeof min === 'number' ? min : -Infinity;
+  max = typeof max === 'number' ? max : Infinity;
   return Math.max(min, Math.min(number, max));
 }
convertToNumberWithinIntervalBounds uses -/+ Infinity for min/max if unspecified.