all modules: fix filter by category or venue (FIX #774)

...and ensure ids given are positive, non-zero numbers only

Note: This is not recursive. User must specify every (sub)category id he wants to see events from.