Fixed intvector conversion, fixed field and entity adding

Signed-off-by: Irmo van den Berge <bergerkiller@gmail.com>