Fix matching start-end with no contents