Don't add id params if null