fix "skip bucket" condition

Change-Id: I408e24495d6d9281280b5ad1b3e215dd493a1216