AbstractQueryChangesTest: avoid possible NPEs on teardown

Change-Id: I517c77fca3a3a40767137296dc55d129855af809
1 file changed