Correct type of queried refIDs (from string to int32).