Mallards feed by filtering. What looks like a muddy mess to you is probably a choice buffet to your duck.
As for the plastic cap, was there any reason to keep it? Perhaps the ducks are just tidying up. If your part of Ireland is anything like my part of Ireland then tidy ducks would be an environmental godsend. They could start by collecting all the black polythene silage-wrap that litters the countryside.
As I said in the other duck question, birds can take funny notions. If one of your ducks lifted the plastic cap and deposited it in the cistern when he realised it wasn't edible, and then found a tasty morsel immediately afterwards, he might assume that one was linked to the other. You think that's barmy? It's no barmier than touching wood, or greeting a magpie with, "Hello your Lordship, how's her Ladyship?".