It's probably not worth fixing, to be honest.
O(n!) when n is 8 still isn't that big.  :)