Stop console from creating duplicate entries in the database when entering commands.