Query pages created by deleted users

WordPress gives you a few options on the Dashboard when you delete a user. As far as I am aware the options are:

  1. Delete the user but keep their name / credit on created content
  2. Delete the user and attribute their content to another user
  3. Delete the user AND delete their content

Unless there were changes to this functionality, you will need to alter the query to find either the author that was deleted or alter it to find the pages authored by the user who took over that content when the original user was deleted.