Only show background messages on the right site

We were showing flash messages for batches on mappings/hits pages for other
sites, which would be misleading to the user.