Let $(C, \Delta, \epsilon)$ be a coalgebra over a commutative ring $k$. Let $M$ be a right comodule over $C$, that is a $k$-module $M$ together with a $k$-linear map $\delta \colon M \to M \otimes C$ such that $(1 \otimes \epsilon)\delta = 1$ and $(1 \otimes \Delta)\delta = (\delta \otimes 1 )\delta$. Let $P$ and $N$ be subcomodules of $M$, i.e. $P$ is a $k$-module such that $\delta(P) \subseteq P \otimes C$, similarly for $N$.
Is it true that $N \cap P$ is a subcomodule of $M$?
To me it seems simple that $\delta(N \cap P) \subseteq \delta(N) \cap \delta(P) \subseteq (N \otimes C) \cap (P \otimes C) = (N \cap P) \otimes C$...
But there is something wrong with my reasoning, since my internet searches tell me that $C$ has to be flat. Can someone help?