Fix typo which caused hang on valid PUT requests