Fix bug with initializing source maps when guards are present