Fix errors in ForceContainer, detected by clang.