Fixed admin page check.