(WCM-899) Fixed stacktrace error from UploadedFileFilter