Plan your dive, and dive your plan. Seems to me that you are relying too much on technology to come to your rescue when you should be preparing beforehand to not need to be rescued in the first place, and paying attention to your dive profile during the dive itself. What if your computer's battery had died during that dive? Going into deco when it is planned is in the normal course of things, doing so when it is not planned is not. Consider yourself warned [and saved in this instance].
Get the proper training for deco diving, and do not push your NDL without it.
Get the proper training for deco diving, and do not push your NDL without it.