Improved appendToQueryString function; added new time filters - closes #1460