Minor - format code.
Improving sql speed see BT#8852