Minor - format code.
Fixing sql query.