Handle empty top tag response

Closes #44