Fixed Sample::prepare_conditions to avoid using deprecated Sequel feature. The method is called by Sample::each and so on.
Avoided selecting many records at once in UdpDataValueSet::assemble_value_sets. The method is called by UdpDataValueSet::each.