Attempt fix for $protectionlevel/type mismatch in $wiki->allpages()

If array() is provided for both $protectionlevels and
$protectiontypes, no error should be thrown.