Removed an '?' in a sql query that was causing an error.