Fixes a bug where leaving out the duration for kb would fail to parse ban duration properly
Adds test for bug