Now actually querying the db, returning invalid when needed.