Error in out of place filtering example