Fix 2 findbugs warnings

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>