Fixes regression introduced in #1218.

I accidentally introduced a regression in #1218. This PR fixes the regression.

https://github.com/TryGhost/Ghost/commit/40ba763f0f6356c229daf63c57a5c387bb8f5aad