I just realized that after leaving comment there's an extra slash added to the end of the title.
So you get this 404 page:
Instead of getting this page:
I'm not sure since when I had this problem but most likely after upgrading to 2.7.
Can anyone help?