When a record has a field of type int64 option, it does not get unwrapped/wrapped accordingly when it is inserted or queried. For example if the value of the field was Some 1, then it inserts Some(1)
It seems to be because the case is not covered in this match block