refs #5538; fix sql