Changing == to contains in websocket handler