Fixed some itag problems, also made it return closest match to requested format