try to prevent critical error with invalid gifs
Make ML available after upload and filter-change (#138)