force_ssl_mapped_domain called hundreds of time on a single page


I just ran a profiling tool on my site where domain mapping is setup. The component running the greatest number of SQL queries per page is Domain Mapping - by far. On the simplest page I have (the ABOUT page), domain_map::force_ssl_mapped_domain issues over 550 queries, almost all of them are the same:

SELECT scheme
FROM smnet_wp_domain_mapping
WHERE domain=''

On more complex pages, this query is run thousands of times.

Is this normal and expected for this plugin?