Fix passing seeds to genFactor to allow numeric and factor seeds