Fixed reverse search, create new states when searching instead of only search for one box