Fix issue when filtered text was downsized.