Fixed deprecation warning on find_or_initialize_by