Fixed the validation of inputs in adding budget