Added priority for has_all_details.