Base: Fix bug getting value from duration box input