Fix default_scope usage to support Active Record 4.1

This fixes issue #5