OFFSET and INDEX in OCMOD

Added support for OFFSET, INDEX and LIMIT to BEFORE and AFTER search methods in OCMOD.