Fix minor thing in database entity processor