Fix uploading of filters #1920, still JS has to be repaired