Fixed fall back algorithm block

Previous block simply repeated an attempt to use the provided
algorithm, rather then defaulting to a hardcoded one.