midonet-api: fix typo and associated regression

This was introduced in the metering patch series.

Change-Id: I235ccf9ed8bfc1a68e1fb88c4b59b05b46015e21
Signed-off-by: Guillermo Ontanon <guillermo@midokura.jp>
Merge "midonet-api: fix typo and associated regression"