The filter is unlikely to have been the problem. I would suspect either the fish had problems already, or there was something in the acclimation. And here, by acclimation I mean the water parameters, water condition, how the fish were caught/netted/bagged/released. I know some of this has been discussed previously, but it is still a possible. And I would check with the state of the fish in the store--tell them your three have died, see if their fish are doing similar.
Another aspect is how long the fish have been in the store. Fish arriving from the fish farm/breeder are under extreme stress, and if we then buy them within a few days, we are subjecting them to more severe stress. There are delicate species that I insist remain in the store at least a week, sometimes longer, before I will acquire them. I'd rather they either died in the store or settled down fairly well, before they are subjected to additional stress.