#293 Fix option deleting functionality