OER Commons: fixes in patched `reverse` function