Fixes a pair of regressions listed in #20168 around hrev59677. Change-Id: Id3f8e4e0ca57d11af5e178318869a87d6d8f2210 Reviewed-on: https://review.haiku-os.org/c/haiku/+/11282 Haiku-Format: Haiku-format Bot <[email protected]> Reviewed-by: Adrien Destugues <[email protected]> Reviewed-by: Máximo Castañeda <[email protected]> Tested-by: Commit checker robot <[email protected]> (cherry picked from commit 52f5d502d9be13f9fc42080f7e64ecfaf3277da9) Reviewed-on: https://review.haiku-os.org/c/haiku/+/11327