Fixing bug when using CONCAT