fixed issue with transformation cache when form contains no media files