Fixed bug where nested "parallel" tags would fail with a casting error