[fix] Change where_clause fn as protected