Fixes an introduced bug on wpp_get_views()