MySQL timestamp query fix in venue/quantify api endpoint.