Fix 'make_assertion' to handle table with holes

make_assertion was using `#{...}` to find the number of arguments, 
but holes in table was causing an infinite loop.