The Cast image filter does not support 4D images. It looks like the error message could use improvement.