updated query to pull the second to last checkin for the previous mpu before a delete mpu