Fixed database table ignoring.