Added deletedFlag catch to populating function to prevent fetching of soft deletes