Fix handling of block shortlinks

Block shortlinks returned 'page not found' because the handler didn't properly check if the chain was part of the request.