Fix statement's detail route.

Closes #13