Fix SQL syntax error where LIMIT was used too early
Merge pull request #142 from washingtonstateuniversity/bug/ssl-site-query

[PR] Fix SQL syntax error where LIMIT was used too early