Fix problem with next frame in stracktrace

Closes #81