Handle inactive records in M2O

review1066003
Fix extra comma