Added hotfix for CustomFinder not being able to find_by reference_id. See issue #41