Analysis waiting page hotfix

Explicit int conversion of ids
Updates for Job & Study object changes
Why only the first file path? Does the filetype_id not matter here?