Modify findByPath to exclude deleted data ->yuanzhe