Fixed a serialization issue; incorrect number of CVs were being queried.