1.6.fix warnings

The code compiles now with -w Ae and -warn-error A.
FYI: on the 1.7 branch these calls have changed from updates to queries, which do actually use the `allow_dirty` flag (or more precisely, use the `consistency` argument); but it's fine the just ignore them here.