Yes, when you want to join two sentences where the second one is a question, it must lose the question form. In your last example, the question is subjective so it can't lose the question form, so it remains unchanged. Like:
I don't know. Where is James now? ===> I don't know where James is now.
I don't know. Who goes to work everyday? ===> I don't know who goes to work everyday.