web: fix issue with querying if number of events to show was not specified, or…
This merge request fixes two issues, namely:
- Fix issue with querying if number of events to show was not specified.
- Fix issue with querying if specific guardian states were requested
This has been added a while back in the lockloss account as a patch, but had forgotten to actually make a commit for it.