Fixed large Bugs in Search Construction Library