Fixed issue in Process instance query break