Minor bugfix for reader type logic