Fix empty replacement for correct handling on twitter post