Fix ajax request detection + Ignore empty requests (quick fix)