Added ajax mode filter

Hi,

This solution is an addition to following fix:
https://github.com/woothemes/woocommerce/commit/6e540c3bdabd20f6bb2759da9f09983c91807300