Cast integer data type to prevent SQL injection

simple fix to help prevent sql injections