Code producing bug on unview matched rows