Added a check to ensure the correct meta_key is used when deleting old posts