I have blatted uncommited things too many times. A slight hack, but seems to do the job