Fix take-while and drop-while, fixes #53