The isfolder flag should never be automatically set 

The isfolder flag should never be automatically set (create, update & import). Cf. #5812 and #9401, #9267, #3508