A Jerusalem man charged with publishing objectifying videos of policewomen has been given an extended detention after an appeal to the courts overturned his previous release.