Addressed SQL vulnerability

Fixed an SQL injection vulnerability.