Fix for: Mysql2::Error: Operand should contain 1 column