Fix bug in map module not refreshing when query gives no result.