Fix for factorization wire updates NoSuchElementException

Signed-off-by: Ross Allan <rallanpcl@gmail.com>