Fix Prev and Next Action Bug