Fix for recently introduced incorrectly set expected data direction