Rather than using a dummy 'f' terminator for a WHERE IN clause, just don't send query in the first place if no mobile network is selected