Also check your quotation marks. If that's what you really have, I have seen this cause problems before (backwards or forwards leaning quotes).
if the field contains "No User ID", then return nothing.
OK, this isn't the cause of the error, but might raise an issue soon. "" is not "nothing". Nor is it Null. So your query might not function properly if the empty string you're passing to it comes in to play.
The more we hear silence, the more we begin to think about our value in this universe.
Paraphrase of Professor Brian Cox.