I'm having trouble understanding why is $\psi(\Lambda^{-1}p')$ the correct wave function in the Lorentz transformed frame $p' = \Lambda p$.
Suppose the state in frame $O$ is given by
$$ |\Psi\rangle = \int dp\, \psi(p)\, |p\rangle $$
then in frame $O'$ with $p' = \Lambda p$, the same state has representation
$$ |\Psi\rangle = \int dp'\, \psi'(p')\, |p'\rangle $$
where $|p'\rangle = U(\Lambda) |p\rangle =|\Lambda p\rangle$ and $\psi'(q') = \langle q' | \Psi \rangle$ (all quantities unprimed $p, q, . . .$ are in frame $O$, all quantities primed $p', q', . . .$ are in frame $O'$). Calculating now
$$ \langle q' | \Psi \rangle = \langle q | U^{\dagger}(\Lambda)|\Psi\rangle = \int dp\, \psi(p)\, \langle q | U^{\dagger}(\Lambda)\, |p\rangle = \int dp\, \psi(p)\, \delta(q - \Lambda^{-1} p) = \psi(\Lambda q) $$
where the last step follows since $q - \Lambda^{-1} p = 0$ gives $p = \Lambda q$. So all in all $\psi'(q') = \psi(\Lambda q)$ but instead we know the correct answer is $\psi'(q') = \psi(\Lambda^{-1} q')$. Where is the mistake in the reasoning?
Note: similar questions have been asked before but none addresses the issue I'm raising, namely, how to convince oneself that the function space transformation $\psi(\Lambda^{-1} q')$ arises in the way shown above.