Fix an issue with block search