Make projects created by factories already online

The previous code was not inside a block, so didn't have the expected
behavior.