this patch has been committed in changeset:1089 but is not yet tested.
Later, I also found a change to line 176 (missing lower for referred_table):
remotetable = Table(referred_table.lower(), self, autoload = True)
Aside from upper/lower issues there is a reference to primary_key0 on the next line. I'm just wandering what if it is a composite primary/foreign key? This is my first hour and a half with SQLAlchemy so somebody else should look into this.