Patches from RT

Hi Jason,

Here are the patches from RT#65155 and RT#64697, could you please pull them and make a release, or give me co-maint so I can upload it to CPAN myself?  I need these fixes so I can use DBICx::AutoDoc with my work DBIC schemata.

Thanks in advance,
ilmari