fixing ranges and filtering bugs at events page