- fix allocator for Primitive Data struct.
- fix exception on invalid data tuple.

Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>