KRACOEUS-7512: Fixing bad SQL Statement
Merge pull request #425 from jamey-rsmart/KRACOEUS-7512

KRACOEUS-7512: Fixing bad SQL Statement