Not getting any mastery points

After a game of SR Solo/duo or ARAM, I get no grade and a 'mastery undefined' thingy. It doesn't happen every game, just so once and now. Why is this happening? The champion also doesn't appear in the 'recently played' list in your champion collection. It's like it doesn't register the match?
Report as:
Offensive Spam Harassment Incorrect Board