merge_vectors: handle zero-length vectors/lists
Use new function for checking mark properties