Fix a bug in Factory. Fail condition will no logger trigger bug, it now will just be ignore.