Fix for DB error due to an ambiguous ID.
Merge pull request #8 from specialbrand/master

Fix for DB error due to an ambiguous ID.