Replace deprecated find(:first, ...) by first(...) call