Optimize -take: in case the count is 0

Comes from d87adfb (3.0-development).