fix event filters mongodb query