JS Bug fixed. workflow step filtering logic reworked