Remove double self in filetime check. fixes #2952