prevent a user to edit someone else's talk

the bug was introduced by b8f2db21258d1a449e120aa9837cf4dc3bef7bf3
and caused by the unnecessary complexity of the test,
which has nested unless with complicated conditions

this patch only fixes the bug, not the unnecessary complexity of the test