fixed rare bug where qs found factor from factor base