Added additional check for resolution for measurements.

Signed-off-by: Gary Pamparà <gpampara@gmail.com>