1. if there are not flow entry in database, do nothing.

2. add str() to make i_curr["meter"] and i_prev["meter"] the same.

Signed-off-by: Samuel Deng <mr.dengshuoling@gmail.com>