Sanity check on insertion