Fixes code that filters remote connections. Tested with iPad. Works.