Fix for #411: iHate fails with singletons.
Merge pull request #451 from dokterbob/ihate_singletons

Fix for #411: iHate fails with singletons.