Swaps some checks around