Adding hack mentioned in rails-observers issue #4