Fixed problem where replace filter would only replace the first instance of the 'needle' string

- Fixes #75