Using `iteritems` causes the callable in a `CallingMap` instance to be executed. This means unnecessary queries to the database for `ipmatches` and `ipjailmatches`, which may not even be used.