workaround for activerecord bug with automatic state scopes. workaround also provides table name disambiguation