[PATCH] Fix type-change handling when assigning the status code to filepairs.