Fixed issue pointed out on GitHub.