I ran the "db.system.sessions.drop()" command and restarted the server. It rebuilt the collection, and the expireAfterSeconds parameter has the correct type.
So far it seems like dropping the collection solved the problem with on bad side effects.