SOC-2950 | Wrong user search after deleting mention input - fix syntax javascript