Please, reduce it to a minimal example.
This works fine for me:
ifSecondary final holdKey a // hold with another key
ifGesture timeoutIn 200 $thisKeyId final holdKey b // doubletap behavior
oneShot holdKey iLS- // the single tap behavior
(Note that in the last release a timeout was added for oneShot - 500ms by default.)