Have you verified that this works as expected?

As a side-note, please restore the space you removed from the indentation. :-)