fixed #4 (Wrong code generated for primitive type lists and nullable properties with primitive type)