Adding hack mentioned in rails-observers issue #4

Borrowed from melindaweathers's commit(couldn't find that one on her fork)
https://github.com/rails/rails-observers/commit/e2fba819ee77b683a210115e814783a45606baeb