Number search 'max' parameter ignored when searching local inventory

When using a region that has local inventory (right now this includes ON and BC) the number search tool doesn’t respect the ‘max’ parameter. For example, see this page: https://jmp.chat/tels?max=5&q=on&embed

Note that it happens with or without the embed parameter (that’s just where I noticed it, on the https://jmp.chat/ iframe), and also happens without the ‘q’ parameter if your IP is in a region with only local inventory.

This relates to #323, where local inventory was implemented.

fixed with a hotfix today, needs to be ported into mainline