Small bugfixes in SV pipeline.