layout.spellcheckDefault is a different key. It has a different purpose. It takes the values of 0,1 and 2
where 0 is no underline, 1 is underline only multiple lines and 2 is underline multiple lines and single line. If you use option 2 it will underline spell errors even when you type a single line in google search