Fix an unexpected behaviour.