Fixing some issues with read repair