Fixed a couple of bugs in the FADC packet losses module and macro