Fixed #4 - Use prepared statement with WHERE clause