this way the assert will fire from the user's code rather than the one in glue.c:h_seq_index() which is not informative without a stack trace.