Element assert

Fixes issue #86