Minor cleanup on prepared statement