FIXED DataObject validation bug

Signed-off-by: Tom Densham <tom.densham@studiobonito.co.uk>
Merge pull request #4 from nedmas/master

FIXED DataObject validation bug