Fixed bug in MySQL query
Codebook allows line breaks