Handle param parsing with missing parameters

Previously, any "&&" sections in the query parameters caused a 500 error.