Fix backtrace for optional argument and r.table