Fixes an invalid call to tny_folder_get_account. It must be checked before that it...