Fix for issue #4 -- nested callbacks with same index key