Avoid FutureWarning for checking element in blockprocessor