Client side speedup against null attribute queries