Fixed user query for single record retuen.