various migration issues and VIVO-265 blank node deletion optimization