Fixed the now-failing Admin page test
[#82012974] -- Separated condition from result