Core/Handlers: Fix two warnings recently introduced