Must check that the code is published too
No need to select the published state as we've already checked it