Fixed refactoring bug that broke factorized games