the issue is with the hide and show animations for results.
If your results come back quickly enough(the hide animation is not complete) the show animation completes and then this code executes(the complete of the hide animation)
complete: function () {
$(this).css({
visibility: "hidden",
display: "none"
});
}
causing the results to be hidden