Yes it's a bug. I'll prepare pull request.