The case against Liam Óg Ó hAnnaidh has been thrown out following a technical error in the way the charge against him was brought.