Fix bug in parallel executor causing crash in case of empty result