Bugfix/typed limit use pipe

See discussion at #391

```TypedPipes```'s ```.limit``` was broken. The flatMap function was applied after the limit.