Fix prepared statement notices