Fix find_by_id and find method returning nil unless .all called beforehand for ActiveYaml or ActiveFile