They might have disconnected it when replacing the air filter and not plugged it back together properly. This is something you can check very quickly yourself and is where @Spaghetti describes above. Disconnecting the MAF makes the engine operate on a different 'map' and has reduced functioning of the EGR etc but is a very good trick as a 'get me home repair' and unscrupulous dealers have been known to do this to hide other engine faults as it usually doesn't throw up an engine warning light.I'll give the garage the benefit of doubt and say it was just coincidence.