Discard netobjs containing integers and flags out of range

Fixes #1211.