[fm] ignore invalid UIDs - fixed #89