Reversed cache write order in execution filter, closes #703