Use default parameter for the case where nothing matches since it would return nil and fail to call #last