Replaces first with get for compatibility with older peewee versions