Updated the discount validator and api for usage limit will be null if input value is 0 And updated the code for filter