playcount field in filestate table have to be nullable.