Added check for session strings in query string.