Error when selecting operator row in database.