Bug fix in format context management.
Authored by: brunoherbelin 2016-09-16
Parent: [r1165]
Child: [r1167]