Fix #16: Use correct constant name for checking speed (and add a sensible default)