Fix bug always displaying delete mention button