Change .blank? to .empty? because it's causing encoding error? [#78995720]