Fix scheduler ajax call when not using clean urls