BibFormat: fix misplaced elements in record templates