java-api: Fix #35: APIHandlerType.SELECTIVE :: Unable to mark bundle as delivered