Fix MongoDB backward compat wrt units

Fixes: bug#1193908

Change-Id: I9f4f2ec6cbec424279149b82704f88cad9c740b8
Signed-off-by: Julien Danjou <julien@danjou.info>
Merge "Fix MongoDB backward compat wrt units"