fixed split_with_force to use the right db #579

also made splitVector protect itself against using the wrong db, to return an
error instead of crashing