debugging: Hiding former rewritten versions when querying records