Fixed old find_by syntax