Fixed issue where the query string serialization block was not used

Found an issue where the results of the queryStringSerialization were not being applied. Added two tests to confirm the fix as well.