Fixed a core dump when invalid trace area was supplied.